Kyroxima - AI Nations Planet ainationsplanetwiki https://ainationsplanet.miraheze.org/wiki/Main_Page MediaWiki 1.42.1 first-letter Media Special Talk User User talk Kyroxima - AI Nations Planet Kyroxima - AI Nations Planet talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Module Module talk Main Page 0 1 1 2024-07-01T19:12:14Z MediaWiki default 1 Welcome to Miraheze! wikitext text/x-wiki __NOTOC__ == Welcome to {{SITENAME}}! == This Main Page was created automatically and it seems it hasn't been replaced yet. === For the bureaucrat(s) of this wiki === Hello, and welcome to your new wiki! Thank you for choosing Miraheze for the hosting of your wiki, we hope you will enjoy our hosting. You can immediately start working on your wiki or whenever you want. Need help? No problem! We will help you with your wiki as needed. To start, try checking out these helpful links: * [[mw:Special:MyLanguage/Help:Contents|MediaWiki guide]] (e.g. navigation, editing, deleting pages, blocking users) * [[meta:Special:MyLanguage/FAQ|Miraheze FAQ]] * [[meta:Special:MyLanguage/Request features|Request settings changes on your wiki]]. (Extensions, Skin and Logo/Favicon changes should be done through [[Special:ManageWiki]] on your wiki, see [[meta:Special:MyLanguage/ManageWiki|ManageWiki]] for more information.) ==== I still don't understand X! ==== Well, that's no problem. Even if something isn't explained in the documentation/FAQ, we are still happy to help you. You can find us here: * [[meta:Special:MyLanguage/Help center|On our own Miraheze wiki]] * On [[phorge:|Phorge]] * On [https://miraheze.org/discord Discord] * On IRC in #miraheze on irc.libera.chat ([irc://irc.libera.chat/%23miraheze direct link]; [https://web.libera.chat/?channel=#miraheze webchat]) === For visitors of this wiki === Hello, the default Main Page of this wiki (this page) has not yet been replaced by the bureaucrat(s) of this wiki. The bureaucrat(s) might still be working on a Main Page, so please check again later! 070d9e6457eab136df99905438a1f57c037772b0 Manslevic Imperium 0 2 2 2024-07-01T22:06:23Z Manslevic Imperium 5 Created page with "{{Infobox country |conventional_long_name = Laikan Empire |native_name = Laikanska |common_name = |status = Active |image_flag = Laikannew.png |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = &TtJg72wRD&@DNk |map_width = 250 |loctext = Montreal, Canada |map_caption = |image_map2 = |alt_map2 = |map_caption2 = |capital = District: CAPITAL |largest_city = District: 1..." wikitext text/x-wiki {{Infobox country |conventional_long_name = Laikan Empire |native_name = Laikanska |common_name = |status = Active |image_flag = Laikannew.png |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = &TtJg72wRD&@DNk |map_width = 250 |loctext = Montreal, Canada |map_caption = |image_map2 = |alt_map2 = |map_caption2 = |capital = District: CAPITAL |largest_city = District: 1 |largest_settlement_type = |largest_settlement = |official_languages = English |national_languages = French |regional_languages = French |ethnic_groups = {{plainlist| * 80% White Canadian * 20% Latino}} |ethnic_groups_year = 2024 |religion = Catholosism * 90% [[w:Christianity|Christianity]] * 10% Unaffiliated |religion_year = 2024 |demonym = Laikan |government_type = [[w:Totalitarianism|Totalitarian]] [[w:Monarchy|Monarchy]] |leader_title1 = Prime-Minister |leader_name1 = [[Lord|Prime-minister Lord]] |leader_title2 = Other Prime-Minister |leader_name2 = [[Labonte|Prime-minister Labonte]] |legislature = Reiks-Ministry |upper_house = High command |lower_house = |sovereignty_type = Independence |sovereignty_note = from [[w:Canada|Canada]] |established_event1 = Independence |established_date1 = 5th May 2024 |area_km2 = |area_sq_mi = |area_footnote = |percent_water = 1% |population_estimate = 37 |population_estimate_year = 2024 |HDI = |HDI_change = |currency = LaikanMark |time_zone = Eastern Daylight Time |utc_offset = -2 |time_zone_DST = |utc_offset_DST = |DST_note = |date_format = yyyy/mm/dd |drives_on = right |cctld = .ex |calling_code = [[w:+514|+514]] |official_website = }} 2681756aefde915e7fe57380ff57a5b8deb184a1 3 2 2024-07-01T22:06:41Z Manslevic Imperium 5 wikitext text/x-wiki {{Infobox |conventional_long_name = Laikan Empire |native_name = Laikanska |common_name = |status = Active |image_flag = Laikannew.png |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = &TtJg72wRD&@DNk |map_width = 250 |loctext = Montreal, Canada |map_caption = |image_map2 = |alt_map2 = |map_caption2 = |capital = District: CAPITAL |largest_city = District: 1 |largest_settlement_type = |largest_settlement = |official_languages = English |national_languages = French |regional_languages = French |ethnic_groups = {{plainlist| * 80% White Canadian * 20% Latino}} |ethnic_groups_year = 2024 |religion = Catholosism * 90% [[w:Christianity|Christianity]] * 10% Unaffiliated |religion_year = 2024 |demonym = Laikan |government_type = [[w:Totalitarianism|Totalitarian]] [[w:Monarchy|Monarchy]] |leader_title1 = Prime-Minister |leader_name1 = [[Lord|Prime-minister Lord]] |leader_title2 = Other Prime-Minister |leader_name2 = [[Labonte|Prime-minister Labonte]] |legislature = Reiks-Ministry |upper_house = High command |lower_house = |sovereignty_type = Independence |sovereignty_note = from [[w:Canada|Canada]] |established_event1 = Independence |established_date1 = 5th May 2024 |area_km2 = |area_sq_mi = |area_footnote = |percent_water = 1% |population_estimate = 37 |population_estimate_year = 2024 |HDI = |HDI_change = |currency = LaikanMark |time_zone = Eastern Daylight Time |utc_offset = -2 |time_zone_DST = |utc_offset_DST = |DST_note = |date_format = yyyy/mm/dd |drives_on = right |cctld = .ex |calling_code = [[w:+514|+514]] |official_website = }} 72cdfc12cc1d1099aa8e314ee81082229a81596a 5 3 2024-07-01T22:07:48Z Manslevic Imperium 5 Blanked the page wikitext text/x-wiki da39a3ee5e6b4b0d3255bfef95601890afd80709 6 5 2024-07-01T22:09:00Z Manslevic Imperium 5 wikitext text/x-wiki Name: Mansleviclands Full Name: Manslevic Imperium Demonyms: Manslevic, Manslev Official Language: Latin Common/Regional Languages: Latin, English, French Population:20,098,007 Ethnicity: Roman Government: Imperial Monarchy Ideology: Monarchy Leader: Ceaser Julian Economy: Normal Military: Large National Motto: Auctoritas in Imperio (Prestige Within the Empire) National Animal: Chihuahua National Colours: Purple, Yellow and Black Flag: 91740204f47ab8fa14b159bacbed99cc219d65ee 7 6 2024-07-01T22:09:36Z Manslevic Imperium 5 Replaced content with "hmmm" wikitext text/x-wiki hmmm 7cf90a0e7c5d25f1a827d3efe6fe4d0edd63cca9 Template:Infobox 10 3 4 2024-07-01T22:07:00Z Manslevic Imperium 5 Created page with "{{Infobox country |conventional_long_name = Laikan Empire |native_name = Laikanska |common_name = |status = Active |image_flag = Laikannew.png |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = &TtJg72wRD&@DNk |map_width = 250 |loctext = Montreal, Canada |map_caption = |image_map2 = |alt_map2 = |map_caption2 = |capital = District: CAPITAL |largest_city = District: 1..." wikitext text/x-wiki {{Infobox country |conventional_long_name = Laikan Empire |native_name = Laikanska |common_name = |status = Active |image_flag = Laikannew.png |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = &TtJg72wRD&@DNk |map_width = 250 |loctext = Montreal, Canada |map_caption = |image_map2 = |alt_map2 = |map_caption2 = |capital = District: CAPITAL |largest_city = District: 1 |largest_settlement_type = |largest_settlement = |official_languages = English |national_languages = French |regional_languages = French |ethnic_groups = {{plainlist| * 80% White Canadian * 20% Latino}} |ethnic_groups_year = 2024 |religion = Catholosism * 90% [[w:Christianity|Christianity]] * 10% Unaffiliated |religion_year = 2024 |demonym = Laikan |government_type = [[w:Totalitarianism|Totalitarian]] [[w:Monarchy|Monarchy]] |leader_title1 = Prime-Minister |leader_name1 = [[Lord|Prime-minister Lord]] |leader_title2 = Other Prime-Minister |leader_name2 = [[Labonte|Prime-minister Labonte]] |legislature = Reiks-Ministry |upper_house = High command |lower_house = |sovereignty_type = Independence |sovereignty_note = from [[w:Canada|Canada]] |established_event1 = Independence |established_date1 = 5th May 2024 |area_km2 = |area_sq_mi = |area_footnote = |percent_water = 1% |population_estimate = 37 |population_estimate_year = 2024 |HDI = |HDI_change = |currency = LaikanMark |time_zone = Eastern Daylight Time |utc_offset = -2 |time_zone_DST = |utc_offset_DST = |DST_note = |date_format = yyyy/mm/dd |drives_on = right |cctld = .ex |calling_code = [[w:+514|+514]] |official_website = }} 2681756aefde915e7fe57380ff57a5b8deb184a1 9 4 2024-07-04T15:43:35Z PercyUK 7 wikitext text/x-wiki {{#invoke:Infobox|infobox}}<noinclude> Uses [[Module:Infobox|Wikipedia infobox]] {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | title = title | above = above | subheader = subheader | subheader2 = subheader2 <br> ―— | image = image | caption = caption | image2 = image2 | caption2 = caption2 <br> ―— | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 <br> ―— | below = below }} <pre> {{Infobox | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; bodystyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | bodystyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; titlestyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | titlestyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | titlestyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; abovestyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | abovestyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | abovestyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; imagestyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | imagestyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | imagestyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; captionstyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | captionstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | captionstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; rowstyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | rowstyle2 = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | rowstyle2 = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; headerstyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | headerstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | headerstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; labelstyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | labelstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | labelstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; datastyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | datastyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | datastyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> <br clear=all> ; belowstyle {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 .5em 1em; width: 270px; border: 1px solid #eaecf0; background: #f8f9fa; | belowstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} <pre> {{Infobox | belowstyle = background:beige | title = title | above = above | subheader = subheader | subheader2 = subheader2 | image = image | caption = caption | image2 = image2 | caption2 = caption2 | header1 = header1 | label2 = label2 | data2 = data2 | data3 = data3 | below = below }} </pre> </noinclude> 4cd5f3989507bd0cf4f885a72aef5957c804a05c Module:Infobox 828 4 8 2024-07-04T15:40:40Z PercyUK 7 Created page with "-- -- This module implements {{Infobox}} -- local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]' local has_rows = false local function fixChildBoxes(sval, tt) local function notempty( s ) return s and s:match( '%S' ) end if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s..." Scribunto text/plain -- -- This module implements {{Infobox}} -- local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]' local has_rows = false local function fixChildBoxes(sval, tt) local function notempty( s ) return s and s:match( '%S' ) end if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker) if s:match(marker) then s = mw.ustring.gsub(s, marker .. '%s*' .. marker, '') s = mw.ustring.gsub(s, '([\r\n]|-[^\r\n]*[\r\n])%s*' .. marker, '%1') s = mw.ustring.gsub(s, marker .. '%s*([\r\n]|-)', '%1') s = mw.ustring.gsub(s, '(</[Cc][Aa][Pp][Tt][Ii][Oo][Nn]%s*>%s*)' .. marker, '%1') s = mw.ustring.gsub(s, '(<%s*[Tt][Aa][Bb][Ll][Ee][^<>]*>%s*)' .. marker, '%1') s = mw.ustring.gsub(s, '^(%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1') s = mw.ustring.gsub(s, '([\r\n]%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1') s = mw.ustring.gsub(s, marker .. '(%s*</[Tt][Aa][Bb][Ll][Ee]%s*>)', '%1') s = mw.ustring.gsub(s, marker .. '(%s*\n|%})', '%1') end if s:match(marker) then local subcells = mw.text.split(s, marker) s = '' for k = 1, #subcells do if k == 1 then s = s .. subcells[k] .. '</' .. tt .. '></tr>' elseif k == #subcells then local rowstyle = ' style="display:none"' if notempty(subcells[k]) then rowstyle = '' end s = s .. '<tr' .. rowstyle ..'><' .. tt .. ' colspan=2>\n' .. subcells[k] elseif notempty(subcells[k]) then if (k % 2) == 0 then s = s .. subcells[k] else s = s .. '<tr><' .. tt .. ' colspan=2>\n' .. subcells[k] .. '</' .. tt .. '></tr>' end end end end -- the next two lines add a newline at the end of lists for the PHP parser -- [[Special:Diff/849054481]] -- remove when [[:phab:T191516]] is fixed or OBE s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n') s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n') s = mw.ustring.gsub(s, '^([%*#;:])', '\n%1') s = mw.ustring.gsub(s, '^(%{%|)', '\n%1') return s else return sval end end -- Cleans empty tables local function cleanInfobox() root = tostring(root) if has_rows == false then root = mw.ustring.gsub(root, '<table[^<>]*>%s*</table>', '') end end -- Returns the union of the values of two tables, as a sequence. local function union(t1, t2) local vals = {} for k, v in pairs(t1) do vals[v] = true end for k, v in pairs(t2) do vals[v] = true end local ret = {} for k, v in pairs(vals) do table.insert(ret, k) end return ret end -- Returns a table containing the numbers of the arguments that exist -- for the specified prefix. For example, if the prefix was 'data', and -- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}. local function getArgNums(prefix) local nums = {} for k, v in pairs(args) do local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$') if num then table.insert(nums, tonumber(num)) end end table.sort(nums) return nums end -- Adds a row to the infobox, with either a header cell -- or a label/data cell combination. local function addRow(rowArgs) if rowArgs.header and rowArgs.header ~= '_BLANK_' then has_rows = true root :tag('tr') :addClass(rowArgs.rowclass) :cssText(rowArgs.rowstyle) :tag('th') :attr('colspan', '2') :addClass('infobox-header') :addClass(rowArgs.class) :addClass(args.headerclass) -- @deprecated next; target .infobox-<name> .infobox-header :cssText(args.headerstyle) :cssText(rowArgs.rowcellstyle) :wikitext(fixChildBoxes(rowArgs.header, 'th')) if rowArgs.data then root:wikitext( '[[Category:Pages which use infobox templates with ignored data cells]]' ) end elseif rowArgs.data and rowArgs.data:gsub( category_in_empty_row_pattern, '' ):match('^%S') then has_rows = true local row = root:tag('tr') row:addClass(rowArgs.rowclass) row:cssText(rowArgs.rowstyle) if rowArgs.label then row :tag('th') :attr('scope', 'row') :addClass('infobox-label') -- @deprecated next; target .infobox-<name> .infobox-label :cssText(args.labelstyle) :cssText(rowArgs.rowcellstyle) :wikitext(rowArgs.label) :done() end local dataCell = row:tag('td') dataCell :attr('colspan', not rowArgs.label and '2' or nil) :addClass(not rowArgs.label and 'infobox-full-data' or 'infobox-data') :addClass(rowArgs.class) -- @deprecated next; target .infobox-<name> .infobox(-full)-data :cssText(rowArgs.datastyle) :cssText(rowArgs.rowcellstyle) :wikitext(fixChildBoxes(rowArgs.data, 'td')) else table.insert(empty_row_categories, rowArgs.data or '') end end local function renderTitle() if not args.title then return end has_rows = true root :tag('caption') :addClass('infobox-title') :addClass(args.titleclass) -- @deprecated next; target .infobox-<name> .infobox-title :cssText(args.titlestyle) :wikitext(args.title) end local function renderAboveRow() if not args.above then return end has_rows = true root :tag('tr') :tag('th') :attr('colspan', '2') :addClass('infobox-above') :addClass(args.aboveclass) -- @deprecated next; target .infobox-<name> .infobox-above :cssText(args.abovestyle) :wikitext(fixChildBoxes(args.above,'th')) end local function renderBelowRow() if not args.below then return end has_rows = true root :tag('tr') :tag('td') :attr('colspan', '2') :addClass('infobox-below') :addClass(args.belowclass) -- @deprecated next; target .infobox-<name> .infobox-below :cssText(args.belowstyle) :wikitext(fixChildBoxes(args.below,'td')) end local function addSubheaderRow(subheaderArgs) if subheaderArgs.data and subheaderArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then has_rows = true local row = root:tag('tr') row:addClass(subheaderArgs.rowclass) local dataCell = row:tag('td') dataCell :attr('colspan', '2') :addClass('infobox-subheader') :addClass(subheaderArgs.class) :cssText(subheaderArgs.datastyle) :cssText(subheaderArgs.rowcellstyle) :wikitext(fixChildBoxes(subheaderArgs.data, 'td')) else table.insert(empty_row_categories, subheaderArgs.data or '') end end local function renderSubheaders() if args.subheader then args.subheader1 = args.subheader end if args.subheaderrowclass then args.subheaderrowclass1 = args.subheaderrowclass end local subheadernums = getArgNums('subheader') for k, num in ipairs(subheadernums) do addSubheaderRow({ data = args['subheader' .. tostring(num)], -- @deprecated next; target .infobox-<name> .infobox-subheader datastyle = args.subheaderstyle, rowcellstyle = args['subheaderstyle' .. tostring(num)], class = args.subheaderclass, rowclass = args['subheaderrowclass' .. tostring(num)] }) end end local function addImageRow(imageArgs) if imageArgs.data and imageArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then has_rows = true local row = root:tag('tr') row:addClass(imageArgs.rowclass) local dataCell = row:tag('td') dataCell :attr('colspan', '2') :addClass('infobox-image') :addClass(imageArgs.class) :cssText(imageArgs.datastyle) :wikitext(fixChildBoxes(imageArgs.data, 'td')) else table.insert(empty_row_categories, imageArgs.data or '') end end local function renderImages() if args.image then args.image1 = args.image end if args.caption then args.caption1 = args.caption end local imagenums = getArgNums('image') for k, num in ipairs(imagenums) do local caption = args['caption' .. tostring(num)] local data = mw.html.create():wikitext(args['image' .. tostring(num)]) if caption then data :tag('div') :addClass('infobox-caption') -- @deprecated next; target .infobox-<name> .infobox-caption :cssText(args.captionstyle) :wikitext(caption) end addImageRow({ data = tostring(data), -- @deprecated next; target .infobox-<name> .infobox-image datastyle = args.imagestyle, class = args.imageclass, rowclass = args['imagerowclass' .. tostring(num)] }) end end -- When autoheaders are turned on, preprocesses the rows local function preprocessRows() if not args.autoheaders then return end local rownums = union(getArgNums('header'), getArgNums('data')) table.sort(rownums) local lastheader for k, num in ipairs(rownums) do if args['header' .. tostring(num)] then if lastheader then args['header' .. tostring(lastheader)] = nil end lastheader = num elseif args['data' .. tostring(num)] and args['data' .. tostring(num)]:gsub( category_in_empty_row_pattern, '' ):match('^%S') then local data = args['data' .. tostring(num)] if data:gsub(category_in_empty_row_pattern, ''):match('%S') then lastheader = nil end end end if lastheader then args['header' .. tostring(lastheader)] = nil end end -- Gets the union of the header and data argument numbers, -- and renders them all in order local function renderRows() local rownums = union(getArgNums('header'), getArgNums('data')) table.sort(rownums) for k, num in ipairs(rownums) do addRow({ header = args['header' .. tostring(num)], label = args['label' .. tostring(num)], data = args['data' .. tostring(num)], datastyle = args.datastyle, class = args['class' .. tostring(num)], rowclass = args['rowclass' .. tostring(num)], -- @deprecated next; target .infobox-<name> rowclass rowstyle = args['rowstyle' .. tostring(num)], rowcellstyle = args['rowcellstyle' .. tostring(num)] }) end end local function renderNavBar() if not args.name then return end has_rows = true root :tag('tr') :tag('td') :attr('colspan', '2') :addClass('infobox-navbar') :wikitext(require('Module:Navbar')._navbar{ args.name, mini = 1, }) end local function renderItalicTitle() local italicTitle = args['italic title'] and mw.ustring.lower(args['italic title']) if italicTitle == '' or italicTitle == 'force' or italicTitle == 'yes' then root:wikitext(mw.getCurrentFrame():expandTemplate({title = 'italic title'})) end end -- Categories in otherwise empty rows are collected in empty_row_categories. -- This function adds them to the module output. It is not affected by -- args.decat because this module should not prevent module-external categories -- from rendering. local function renderEmptyRowCategories() for _, s in ipairs(empty_row_categories) do root:wikitext(s) end end -- Render tracking categories. args.decat == turns off tracking categories. local function renderTrackingCategories() if args.decat == 'yes' then return end if args.child == 'yes' then if args.title then root:wikitext( '[[Category:Pages which use embedded infobox templates with the title parameter]]' ) end elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then root:wikitext('[[Category:Articles which use infobox templates with no data rows]]') end end --[=[ Loads the templatestyles for the infobox. TODO: load base templatestyles here rather than in MediaWiki:Common.css We aren't doing it here yet because there are 4-5000 pages with 'raw' infobox tables. See [[Mediawiki_talk:Common.css/to_do#Infobox]] and/or come help :). When we do this we should clean up the inline CSS below too. Will have to do some bizarre conversion category like with sidebar. ]=] local function loadTemplateStyles() local frame = mw.getCurrentFrame() -- See function description -- local base_templatestyles = frame:extensionTag{ -- name = 'templatestyles', args = { src = cfg.i18n.templatestyles } -- } local templatestyles = '' if args['templatestyles'] then templatestyles = frame:extensionTag{ name = 'templatestyles', args = { src = args['templatestyles'] } } end local child_templatestyles = '' if args['child templatestyles'] then child_templatestyles = frame:extensionTag{ name = 'templatestyles', args = { src = args['child templatestyles'] } } end local grandchild_templatestyles = '' if args['grandchild templatestyles'] then grandchild_templatestyles = frame:extensionTag{ name = 'templatestyles', args = { src = args['grandchild templatestyles'] } } end return table.concat({ -- base_templatestyles, -- see function description templatestyles, child_templatestyles, grandchild_templatestyles }) end -- Specify the overall layout of the infobox, with special settings if the -- infobox is used as a 'child' inside another infobox. local function _infobox() if args.child ~= 'yes' then root = mw.html.create('table') root :addClass(args.subbox == 'yes' and 'infobox-subbox' or 'infobox') :addClass(args.bodyclass) -- @deprecated next; target .infobox-<name> :cssText(args.bodystyle) renderTitle() renderAboveRow() else root = mw.html.create() root :wikitext(args.title) end renderSubheaders() renderImages() preprocessRows() renderRows() renderBelowRow() renderNavBar() renderItalicTitle() renderEmptyRowCategories() renderTrackingCategories() cleanInfobox() return loadTemplateStyles() .. root end -- If the argument exists and isn't blank, add it to the argument table. -- Blank arguments are treated as nil to match the behaviour of ParserFunctions. local function preprocessSingleArg(argName) if origArgs[argName] and origArgs[argName] ~= '' then args[argName] = origArgs[argName] end end -- Assign the parameters with the given prefixes to the args table, in order, in -- batches of the step size specified. This is to prevent references etc. from -- appearing in the wrong order. The prefixTable should be an array containing -- tables, each of which has two possible fields, a "prefix" string and a -- "depend" table. The function always parses parameters containing the "prefix" -- string, but only parses parameters in the "depend" table if the prefix -- parameter is present and non-blank. local function preprocessArgs(prefixTable, step) if type(prefixTable) ~= 'table' then error("Non-table value detected for the prefix table", 2) end if type(step) ~= 'number' then error("Invalid step value detected", 2) end -- Get arguments without a number suffix, and check for bad input. for i,v in ipairs(prefixTable) do if type(v) ~= 'table' or type(v.prefix) ~= "string" or (v.depend and type(v.depend) ~= 'table') then error('Invalid input detected to preprocessArgs prefix table', 2) end preprocessSingleArg(v.prefix) -- Only parse the depend parameter if the prefix parameter is present -- and not blank. if args[v.prefix] and v.depend then for j, dependValue in ipairs(v.depend) do if type(dependValue) ~= 'string' then error('Invalid "depend" parameter value detected in preprocessArgs') end preprocessSingleArg(dependValue) end end end -- Get arguments with number suffixes. local a = 1 -- Counter variable. local moreArgumentsExist = true while moreArgumentsExist == true do moreArgumentsExist = false for i = a, a + step - 1 do for j,v in ipairs(prefixTable) do local prefixArgName = v.prefix .. tostring(i) if origArgs[prefixArgName] then -- Do another loop if any arguments are found, even blank ones. moreArgumentsExist = true preprocessSingleArg(prefixArgName) end -- Process the depend table if the prefix argument is present -- and not blank, or we are processing "prefix1" and "prefix" is -- present and not blank, and if the depend table is present. if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then for j,dependValue in ipairs(v.depend) do local dependArgName = dependValue .. tostring(i) preprocessSingleArg(dependArgName) end end end end a = a + step end end -- Parse the data parameters in the same order that the old {{infobox}} did, so -- that references etc. will display in the expected places. Parameters that -- depend on another parameter are only processed if that parameter is present, -- to avoid phantom references appearing in article reference lists. local function parseDataParameters() preprocessSingleArg('autoheaders') preprocessSingleArg('child') preprocessSingleArg('bodyclass') preprocessSingleArg('subbox') preprocessSingleArg('bodystyle') preprocessSingleArg('title') preprocessSingleArg('titleclass') preprocessSingleArg('titlestyle') preprocessSingleArg('above') preprocessSingleArg('aboveclass') preprocessSingleArg('abovestyle') preprocessArgs({ {prefix = 'subheader', depend = {'subheaderstyle', 'subheaderrowclass'}} }, 10) preprocessSingleArg('subheaderstyle') preprocessSingleArg('subheaderclass') preprocessArgs({ {prefix = 'image', depend = {'caption', 'imagerowclass'}} }, 10) preprocessSingleArg('captionstyle') preprocessSingleArg('imagestyle') preprocessSingleArg('imageclass') preprocessArgs({ {prefix = 'header'}, {prefix = 'data', depend = {'label'}}, {prefix = 'rowclass'}, {prefix = 'rowstyle'}, {prefix = 'rowcellstyle'}, {prefix = 'class'} }, 50) preprocessSingleArg('headerclass') preprocessSingleArg('headerstyle') preprocessSingleArg('labelstyle') preprocessSingleArg('datastyle') preprocessSingleArg('below') preprocessSingleArg('belowclass') preprocessSingleArg('belowstyle') preprocessSingleArg('name') -- different behaviour for italics if blank or absent args['italic title'] = origArgs['italic title'] preprocessSingleArg('decat') preprocessSingleArg('templatestyles') preprocessSingleArg('child templatestyles') preprocessSingleArg('grandchild templatestyles') end -- If called via #invoke, use the args passed into the invoking template. -- Otherwise, for testing purposes, assume args are being passed directly in. function p.infobox(frame) if frame == mw.getCurrentFrame() then origArgs = frame:getParent().args else origArgs = frame end parseDataParameters() return _infobox() end -- For calling via #invoke within a template function p.infoboxTemplate(frame) origArgs = {} for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end parseDataParameters() return _infobox() end return p 440e5a81e98aa50d721014ae43a289ffb9ff4e3a Template:Infobox country 10 5 10 2024-07-04T15:58:08Z PercyUK 7 Created page with "{{Infobox | bodystyle = float: right; clear: right; margin: 0 0 1em 1em; width: 300px; background-color: #f5f5f5; border: 1px solid #cecece; font-size: 88%; border-collapse: collapse; | titlestyle = font-size: 125%; font-weight: bold; padding-bottom: 1px; | abovestyle = font-size: 125%; border-bottom: 1px solid #a2a9b1; padding: 7px; | subheaderstyle = font-size: 125%; border-bottom: 1px solid #a2a9b1; padding: 3px 9px 4px; | imagestyle = border-bottom: 1p..." wikitext text/x-wiki {{Infobox | bodystyle = float: right; clear: right; margin: 0 0 1em 1em; width: 300px; background-color: #f5f5f5; border: 1px solid #cecece; font-size: 88%; border-collapse: collapse; | titlestyle = font-size: 125%; font-weight: bold; padding-bottom: 1px; | abovestyle = font-size: 125%; border-bottom: 1px solid #a2a9b1; padding: 7px; | subheaderstyle = font-size: 125%; border-bottom: 1px solid #a2a9b1; padding: 3px 9px 4px; | imagestyle = border-bottom: 1px solid #a2a9b1; padding: 3px; | headerstyle = padding: 3px 9px 0; text-align: left; | labelstyle = vertical-align: top; border-bottom: 1px solid #a2a9b1; padding: 3px 0 3px 9px; text-align: left; width: 91px; | datastyle = vertical-align: top; border-bottom: 1px solid #a2a9b1; padding: 3px 9px; text-align: left; | rowstyle8 = border-top: hidden; | rowstyle9 = border-top: hidden; | rowstyle14 = border-top: hidden; | title = {{{common_name|}}} | above = {{{conventional_long_name|}}} {{#if: {{{native_name|}}}| <div style="font-style:italic; font-weight:normal; padding-top:4px">{{{native_name}}}</div> }} | subheader = {{#if: {{{micronation|}}}| Micronation }} | image = {{#if: {{{image_flag|}}}{{{image_coat|}}}| <table style="width:100%;" cellpadding="5"> <tr> {{#if: {{{image_flag|}}}| <td style="text-align:center; vertical-align:bottom;">[[file:{{{image_flag|}}}|{{{flag_width|125}}}px|{{{alt_flag|}}}|link=]] <div>{{{flag_type|Flag}}}</div> </td> }} {{#if: {{{image_coat|}}}| <td style=text-align:center; vertical-align:bottom;">[[file:{{{image_coat|}}}|{{{coat_size|85x85}}}px|{{{alt_coat|}}}|link=]] <div>{{{symbol_type|Coat of arms}}}</div> </td> }} </tr> </table> }} | data1 = {{#if: {{{national_motto|}}}| <div style="text-align:center"> <b>Motto:</b> <div style="padding-top:0"> {{{national_motto|}}} </div></div> }} {{#if: {{{englishmotto|}}}| <div style="text-align:center"> {{{englishmotto|}}} </div> }} | data2 = {{#if: {{{national_anthem|}}}| <div style="text-align:center"> <b>Anthem:</b> <div style="padding-top:0"> {{{national_anthem|}}} </div></div> }} |data3 = {{#if:{{{other_symbol|}}}| <div style="padding: 10px 10px {{#if:{{{other_symbol_type|}}}|5px|10px}}">[[File:{{{other_symbol|}}}|center|85px|link=]] <div style="text-align: center">{{{other_symbol_type|}}}</div></div> }} |data4 = {{#if:{{{image_map|}}}| <div style="padding: 10px 10px {{#if:{{{map_caption|}}}|5px|10px}}">[[File:{{{image_map|}}}|center|{{{map_width|250}}}px|{{{loctext|}}}|link=]] <div style="text-align: center">{{{map_caption|}}}</div></div> }} | label5 = Status | data5 = {{{status|}}} | label6 = Capital {{#if: {{{largest_city|}}}| <div>Largest city</div> }} | data6 = {{{capital|}}} {{#if: {{{largest_city|}}}| <div>{{{largest_city}}}</div> }} |label7 = Official&nbsp;languages |data7 = {{{official_languages|}}} |label8 = National&nbsp;languages |data8 = {{{national_languages|}}} |label9 = Regional&nbsp;languages |data9 = {{{regional_languages|}}} |label10 = Ethnic groups {{#if:{{{ethnic_groups_year|}}}| <span style="font-weight:normal"> ({{{ethnic_groups_year}}}) </span> }} |data10 = {{{ethnic_groups|}}} |label11 = Religion {{#if:{{{religion_year|}}}| <span style="font-weight:normal"> ({{{religion_year}}}) </span> }} |data11 = {{{religion|}}} |label12 = Demonym(s) |data12 = {{{demonym|}}} | data13 = {{#if: {{{government_type|}}}| <b>Government</b> <div style="padding-left:9px">{{{government_type|}}}</div> }} | label14 = {{#if: {{{leader_name1|}}}| <div style="font-weight: normal">• {{{leader_title1|}}}</div> {{#if: {{{leader_name2|}}}| <div style="font-weight: normal">• {{{leader_title2|}}}</div>}} {{#if: {{{leader_name3|}}}| <div style="font-weight: normal">• {{{leader_title3|}}}</div>}} }} | data14 = {{#if: {{{leader_name1|}}}| <div>{{{leader_name1|}}}</div> <div>{{{leader_name2|}}}</div> <div>{{{leader_name3|}}}</div> }} | label15 = {{#if: {{{legislature|}}}| Legislature }} {{#if: {{{upper_house|}}}| <div style="font-weight: normal">• Upper house</div>}} {{#if: {{{lower_house|}}}| <div style="font-weight: normal">• Lower house</div>}} | data15 = {{{legislature|}}} {{#if: {{{upper_house|}}}| <div>{{{upper_house|}}}</div> <div>{{{lower_house|}}}</div> }} | data16 = {{#if: {{{established_event1|}}}| <b>{{{sovereignty_type|}}} {{{sovereignty_note|}}}</b> <div>• {{{established_date1}}} <div style="padding-left:9px"> {{{established_event1}}} </div> </div>}} {{#if: {{{established_event2|}}}| <div>• {{{established_date2}}} <div style="padding-left:9px"> {{{established_event2}}} </div></div>}} {{#if: {{{established_event3|}}}| <div>• {{{established_date3}}} <div style="padding-left:9px"> {{{established_event3}}} </div></div>}} {{#if: {{{established_event4|}}}| <div>• {{{established_date4}}} <div style="padding-left:9px"> {{{established_event4}}} </div></div>}} {{#if: {{{established_event5|}}}| <div>• {{{established_date5}}} <div style="padding-left:9px"> {{{established_event5}}} </div></div>}} {{#if: {{{established_event6|}}}| <div>• {{{established_date6}}} <div style="padding-left:9px"> {{{established_event6}}} </div></div>}} {{#if: {{{established_event7|}}}| <div>• {{{established_date7}}} <div style="padding-left:9px"> {{{established_event7}}} </div></div>}} {{#if: {{{established_event8|}}}| <div>• {{{established_date8}}} <div style="padding-left:9px"> {{{established_event8}}} </div></div>}} {{#if: {{{established_event9|}}}| <div>• {{{established_date9}}} <div style="padding-left:9px"> {{{established_event9}}} </div></div>}} |label17 = Area {{#if: {{{area_sq_mi|}}}| <br>}} {{#if: {{{percent_water|}}}| <br> <div style="font-weight:normal"> - Water </div> }} |data17 = {{#if:{{{area_km2|}}}| {{{area_km2}}} km<sup>2</sup> }} {{#if: {{{area_sq_mi|}}}| <div> ({{{area_sq_mi}}} sq mi) </div> }} {{#if: {{{percent_water|}}}| <div> {{{percent_water|}}} </div> }} |label18 = Population {{#if:{{{population_estimate_year|}}}| <span style="font-weight:normal"> ({{{population_estimate_year}}}) </span> }} |data18 = {{{population_estimate|}}} |label19 = Currency |data19 = {{{currency|}}} {{#if: {{{currency_code|}}}| &nbsp;({{{currency_code}}}) }} |label20 = Time Zone {{#if: {{{time_zone_DST|}}}| <br><span style="font-weight: normal; float:left;"> - Summer </span> }} |data20 = {{#if: {{{time_zone|}}}| UTC{{{utc_offset|}}} ({{{time_zone|}}}) {{#if: {{{time_zone_DST|}}}| <div> UTC{{{utc_offset_DST|}}} ({{{time_zone_DST}}}) </div> }} }} |label21 = Date format |data21 = {{{date_format|}}} |label22 = Driving side |data22 = {{{drives_on|}}} |label23 = Calling code |data23 = {{{calling_code|}}} |label24 = ISO 3166 code |data24 = {{{iso3166code|}}} |label25 = Internet TLD |data25 = {{{cctld|}}} }}<noinclude><!-- --> {{Infobox country |common_name = |conventional_long_name = Laikan Empire |native_name = Laikanska |image_flag = Flag of Quebec.svg |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = Quebec in Canada 2.svg |map_width = 250 |loctext = Montreal, Canada |map_caption = |status = Active |capital = District: CAPITAL |largest_city = District: 1 |official_languages = English |national_languages = French |regional_languages = French |ethnic_groups = * 80% White Canadian * 20% Latino |ethnic_groups_year = 2024 |religion = Catholosism * 90% [[w:Christianity|Christianity]] * 10% Unaffiliated |religion_year = 2024 |demonym = Laikan |government_type = [[w:Totalitarianism|Totalitarian]] [[w:Monarchy|Monarchy]] |leader_title1 = Prime-Minister |leader_name1 = [[Lord|Prime-minister Lord]] |leader_title2 = Other Prime-Min. |leader_name2 = [[Labonte|Prime-minister Labonte]] |leader_title3 = |leader_name3 = |legislature = Reiks-Ministry |upper_house = High command |lower_house = |sovereignty_type = Independence |sovereignty_note = from [[w:Canada|Canada]] |established_event1 = Independence |established_date1 = 5th May 2024 |established_date2 = |established_event2 = |established_date3 = |established_event3 = |established_date4 = |established_event4 = |established_date5 = |established_event5 = |established_date6 = |established_event6 = |established_date7 = |established_event7 = |established_date8 = |established_event8 = |established_date9 = |established_event9 = |area_km2 = tba |area_sq_mi = |percent_water = 1% |population_estimate = 37 |population_estimate_year = 2024 |currency = LaikanMark |time_zone = Eastern Daylight Time |utc_offset = -2 |time_zone_DST = |utc_offset_DST = |date_format = yyyy/mm/dd |drives_on = right |calling_code = [[w:+514|+514]] |cctld = .ex }} <pre> {{Infobox country |common_name = |conventional_long_name = Laikan Empire |native_name = Laikanska |image_flag = Flag of Quebec.svg |flag_width = 250 |image_coat = |national_motto = "Ad Laika" |englishmotto = "To Laika!" |national_anthem = |image_map = Quebec in Canada 2.svg |map_width = 250 |loctext = Montreal, Canada |map_caption = |status = Active |capital = District: CAPITAL |largest_city = District: 1 |official_languages = English |national_languages = French |regional_languages = French |ethnic_groups = * 80% White Canadian * 20% Latino |ethnic_groups_year = 2024 |religion = Catholosism * 90% [[w:Christianity|Christianity]] * 10% Unaffiliated |religion_year = 2024 |demonym = Laikan |government_type = [[w:Totalitarianism|Totalitarian]] [[w:Monarchy|Monarchy]] |leader_title1 = Prime-Minister |leader_name1 = [[Lord|Prime-minister Lord]] |leader_title2 = Other Prime-Min. |leader_name2 = [[Labonte|Prime-minister Labonte]] |leader_title3 = |leader_name3 = |legislature = Reiks-Ministry |upper_house = High command |lower_house = |sovereignty_type = Independence |sovereignty_note = from [[w:Canada|Canada]] |established_event1 = Independence |established_date1 = 5th May 2024 |established_date2 = |established_event2 = |established_date3 = |established_event3 = |established_date4 = |established_event4 = |established_date5 = |established_event5 = |established_date6 = |established_event6 = |established_date7 = |established_event7 = |established_date8 = |established_event8 = |established_date9 = |established_event9 = |area_km2 = tba |area_sq_mi = |percent_water = 1% |population_estimate = 37 |population_estimate_year = 2024 |currency = LaikanMark |time_zone = Eastern Daylight Time |utc_offset = -2 |time_zone_DST = |utc_offset_DST = |date_format = yyyy/mm/dd |drives_on = right |calling_code = [[w:+514|+514]] |cctld = .ex }} </pre> </noinclude> aa018bcc28737c4aad75c978f4d938c418cfaab2 User talk:Manslevic Imperium 3 6 11 2024-07-04T16:04:53Z PercyUK 7 Created page with "== Template:Infobox country ‎== I have added the missing part to use [[Template:Infobox|Wikipedia infoboxes‎]]. Wikipedia infoboxes are formed from a number of subtemplates; so for my own use I created a simplified version of Template:Infobox country‎. I have created [[Template:Infobox country‎]] with it which covers most of the details listed on the original. * On my infobox, some rows like lower house are optional so hidden if unused. * Miraheze has direct acce..." wikitext text/x-wiki == Template:Infobox country ‎== I have added the missing part to use [[Template:Infobox|Wikipedia infoboxes‎]]. Wikipedia infoboxes are formed from a number of subtemplates; so for my own use I created a simplified version of Template:Infobox country‎. I have created [[Template:Infobox country‎]] with it which covers most of the details listed on the original. * On my infobox, some rows like lower house are optional so hidden if unused. * Miraheze has direct access to [https://commons.wikimedia.org commons.wikimedia.org] so you can use these images without needing to [[Special:NewFiles|upload to the wiki]]. I have used these images in the example. - [[User:PercyUK|PercyUK]] ([[User talk:PercyUK|talk]]) 16:04, 4 July 2024 (UTC) 1c3b143181d2f8968161e81c2c8ca0fe617b29d1